<!DOCTYPE html>
<html lang="en"
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    
    <h:panelGroup rendered="#{empty userc.userb.user.id}">
        <h:panelGrid columns="2" >
            <h:link value="Fazer meu cadastro" outcome="/system/user/register" />
            <h:link value="Acessar" outcome="/system/user/login" />
        </h:panelGrid>
    </h:panelGroup>

    <h:panelGroup rendered="#{not empty userc.userb.user.id}" >
        <h:form id="form_menu_topo">
            <h:panelGrid columns="3">
                <h:link style="color=white"  outcome="/user/home"> Home</h:link>            
                <h:link value="Meu perfil" outcome="/user/profile/profile"/>
                <h:link value="Minha parte" outcome="/user/product/my-products" />                
                
            </h:panelGrid>
        </h:form>
    </h:panelGroup>
    
</html>